<%@ Page Language="C#" MasterPageFile="../MasterPages/StoreMaster.master" AutoEventWireup="true" Inherits="Codagenic.Store.Presentation.Web.Pages.Clearance" Title="Clearance" %>
<%@ Register Src="../Controls/Product/ProductListControl.ascx" TagName="ProductList" TagPrefix="codagenic" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <asp:Repeater ID="rpClearanceProducts" runat="server" OnItemDataBound="rpClearanceProducts_ItemDataBound">
        <HeaderTemplate>
            <div class="sixteen columns row">
                <div id="featuredProducts">
                    <h2>Clearance Items</h2>
                    <ul class="product-listing unstyled horizontal clearfix">
        </HeaderTemplate>
        <ItemTemplate>
            <li class="item">
                <a href="/Store/ProductRedirect.aspx?pid=<%# DataBinder.Eval(Container.DataItem,"Id") %>">
                    <span class="thumb"><asp:Image ID="ctlImage" runat="server" /></span>
                    <span class="title"><%# Eval("DisplayTitle") %></span>
                    <span class="price">
                        <span class="defaultPrice">
                            <asp:Literal ID="ltlDefaultPrice" runat="server"></asp:Literal>
                        </span>
                        <span class="now">
                            <asp:Literal ID="ltlClearancePriceTag" runat="server"></asp:Literal>
                        </span>
                    </span>
                </a>
            </li>
        </ItemTemplate>
        <FooterTemplate>
                    </ul>
                </div>
            </div>
        </FooterTemplate>
    </asp:Repeater>

</asp:Content>

